package assdraw2.canvas.abstraction.command;

import java.awt.Color;

import assdraw2.canvas.abstraction.CanvasShapeModel;
import assdraw2.canvas.abstraction.Rect;



public class RectCommand implements AddCommand{

	@Override
	public void execute(int x, int y, CanvasShapeModel drawing, Color c) {
		drawing.addShape(new Rect(x, y, c));
	}

}
